Package org.sonar.core.activity

Examples of org.sonar.core.activity.ActivityLog


  @Test
  public void insert_find_loggable_log() {
    final String testKey = "message";
    final String testValue = "hello world";
    service.write(dbSession, Activity.Type.QPROFILE, new ActivityLog() {

      @Override
      public Map<String, String> getDetails() {
        return ImmutableMap.of(testKey, testValue);
      }
View Full Code Here


  @Test
  public void insert_loggable_log() {
    final String testKey = "message";
    final String testValue = "hello world";
    ActivityDto log = ActivityDto.createFor(new ActivityLog() {

      @Override
      public Map<String, String> getDetails() {
        return ImmutableMap.of(testKey, testValue);
      }
View Full Code Here

  final String test_key = "hello";
  final String test_value = "world";
  final String testValue = "hello world";

  private ActivityLog getActivity() {
    return new ActivityLog() {
      @Override
      public Map<String, String> getDetails() {
        return ImmutableMap.of(test_key, test_value);
      }
View Full Code Here

TOP

Related Classes of org.sonar.core.activity.ActivityLog

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.