Examples of scopesWithoutHistoricalData()


Examples of org.sonar.core.purge.PurgeConfiguration.scopesWithoutHistoricalData()

    verify(purgeDao).purge(argThat(new ArgumentMatcher<PurgeConfiguration>() {
      @Override
      public boolean matches(Object o) {
        PurgeConfiguration conf = (PurgeConfiguration) o;
        return conf.rootProjectId() == 1L && conf.scopesWithoutHistoricalData().length == 1 && conf.scopesWithoutHistoricalData()[0].equals(Scopes.FILE);
      }
    }));
  }

  @Test
View Full Code Here

Examples of org.sonar.core.purge.PurgeConfiguration.scopesWithoutHistoricalData()

    verify(purgeDao).purge(argThat(new ArgumentMatcher<PurgeConfiguration>() {
      @Override
      public boolean matches(Object o) {
        PurgeConfiguration conf = (PurgeConfiguration) o;
        return conf.rootProjectId() == 1L && conf.scopesWithoutHistoricalData().length == 1 && conf.scopesWithoutHistoricalData()[0].equals(Scopes.FILE);
      }
    }));
  }

  @Test
View Full Code Here

Examples of org.sonar.core.purge.PurgeConfiguration.scopesWithoutHistoricalData()

    verify(purgeDao).purge(argThat(new ArgumentMatcher<PurgeConfiguration>() {
      @Override
      public boolean matches(Object o) {
        PurgeConfiguration conf = (PurgeConfiguration) o;
        return conf.rootProjectId() == 1L &&
          conf.scopesWithoutHistoricalData().length == 2 &&
          conf.scopesWithoutHistoricalData()[0].equals(Scopes.DIRECTORY) &&
          conf.scopesWithoutHistoricalData()[1].equals(Scopes.FILE);
      }
    }));
  }
View Full Code Here

Examples of org.sonar.core.purge.PurgeConfiguration.scopesWithoutHistoricalData()

      @Override
      public boolean matches(Object o) {
        PurgeConfiguration conf = (PurgeConfiguration) o;
        return conf.rootProjectId() == 1L &&
          conf.scopesWithoutHistoricalData().length == 2 &&
          conf.scopesWithoutHistoricalData()[0].equals(Scopes.DIRECTORY) &&
          conf.scopesWithoutHistoricalData()[1].equals(Scopes.FILE);
      }
    }));
  }
View Full Code Here

Examples of org.sonar.core.purge.PurgeConfiguration.scopesWithoutHistoricalData()

      public boolean matches(Object o) {
        PurgeConfiguration conf = (PurgeConfiguration) o;
        return conf.rootProjectId() == 1L &&
          conf.scopesWithoutHistoricalData().length == 2 &&
          conf.scopesWithoutHistoricalData()[0].equals(Scopes.DIRECTORY) &&
          conf.scopesWithoutHistoricalData()[1].equals(Scopes.FILE);
      }
    }));
  }

  @Test
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.