Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions api/src/org/labkey/api/ApiModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,20 @@
import org.labkey.api.cache.SimpleKeyMappingCache;
import org.labkey.api.cache.UserKeySimpleCache;
import org.labkey.api.collections.ArrayListMap;
import org.labkey.api.collections.BoundMap;
import org.labkey.api.collections.CaseInsensitiveHashMap;
import org.labkey.api.collections.CaseInsensitiveHashSet;
import org.labkey.api.collections.CaseInsensitiveMapWrapper;
import org.labkey.api.collections.CollectionUtils;
import org.labkey.api.collections.DeltaTrackingMap;
import org.labkey.api.collections.LabKeyCollectors;
import org.labkey.api.collections.OneBasedList;
import org.labkey.api.collections.Sampler;
import org.labkey.api.collections.Sets;
import org.labkey.api.collections.SwapQueue;
import org.labkey.api.compliance.ComplianceService;
import org.labkey.api.data.AbstractForeignKey;
import org.labkey.api.data.AbstractTableInfo;
import org.labkey.api.data.AccumulatingCommitTask;
import org.labkey.api.data.Aggregate;
import org.labkey.api.data.AsyncQueryRequest;
Expand Down Expand Up @@ -200,6 +204,7 @@
import org.labkey.api.util.Formats;
import org.labkey.api.util.GUID;
import org.labkey.api.util.HelpTopic;
import org.labkey.api.util.IntegerUtils;
import org.labkey.api.util.JSoupUtil;
import org.labkey.api.util.JobRunner;
import org.labkey.api.util.JsonUtil;
Expand All @@ -214,6 +219,7 @@
import org.labkey.api.util.PageFlowUtil;
import org.labkey.api.util.Pair;
import org.labkey.api.util.Path;
import org.labkey.api.util.RateLimiter;
import org.labkey.api.util.SessionHelper;
import org.labkey.api.util.SmtpTransportProvider;
import org.labkey.api.util.StringExpressionFactory;
Expand Down Expand Up @@ -424,6 +430,7 @@ public void registerServlets(ServletContext servletCtx)
{
return Set.of(
AbstractAgentAction.TestCase.class,
AbstractTableInfo.TestCase.class,
Aggregate.TestCase.class,
ApiResponseWriter.TestCase.class,
ApiXmlWriter.TestCase.class,
Expand All @@ -433,6 +440,7 @@ public void registerServlets(ServletContext servletCtx)
BaseServerProperties.TestCase.class,
BatchSize.TestCase.class,
BooleanFormat.TestCase.class,
BoundMap.TestCase.class,
BuilderObjectFactory.TestCase.class,
CacheManager.TestCase.class,
CacheReplayCommitTask.TestCase.class,
Expand Down Expand Up @@ -472,6 +480,7 @@ public void registerServlets(ServletContext servletCtx)
GUID.TestCase.class,
HelpTopic.TestCase.class,
ImpersonationTestCase.class,
IntegerUtils.TestCase.class,
JSONDataLoader.HeaderMatchTest.class,
JSONDataLoader.MetadataTest.class,
JSONDataLoader.RowTest.class,
Expand All @@ -497,18 +506,21 @@ public void registerServlets(ServletContext servletCtx)
MultiValuedRenderContext.TestCase.class,
NameGenerator.TestCase.class,
NumberUtilsLabKey.TestCase.class,
OneBasedList.TestCase.class,
PageConfig.TestCase.class,
PageFlowUtil.TestCase.class,
Pair.TestCase.class,
Path.TestCase.class,
PropertyType.TestCase.class,
Query.TestCase.class,
QueryProfiler.TestCase.class,
RateLimiter.TestCase.class,
RReport.TestCase.class,
RecompilingJspClassLoader.TestCase.class,
RemoveDuplicatesDataIterator.DeDuplicateTestCase.class,
RepeatedCommitTaskMonitor.TestCase.class,
ReplacedRunFilter.TestCase.class,
Sets.TestCase.class,
SQLFragment.UnitTestCase.class,
Sampler.TestCase.class,
SchemaKey.TestCase.class,
Expand Down
2 changes: 1 addition & 1 deletion api/src/org/labkey/api/util/IntegerUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public void as()
Integer I = asInteger(Long.valueOf((long) Integer.MAX_VALUE + 1L));
fail("should have thown");
}
catch (ClassCastException e)
catch (IllegalArgumentException e)
{
// success
}
Expand Down
2 changes: 2 additions & 0 deletions experiment/src/org/labkey/experiment/ExperimentModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@
import org.labkey.api.webdav.WebdavResource;
import org.labkey.api.webdav.WebdavService;
import org.labkey.api.writer.ContainerUser;
import org.labkey.experiment.api.AliasInsertHelper;
import org.labkey.experiment.api.DataClassDomainKind;
import org.labkey.experiment.api.DataColorManager;
import org.labkey.experiment.api.DataColorTable;
Expand Down Expand Up @@ -1168,6 +1169,7 @@ public Collection<String> getSummary(Container c)
public @NotNull Set<Class<?>> getUnitTests()
{
return Set.of(
AliasInsertHelper.TestCase.class,
DomainUtil.ImportAliasTestCase.class,
DomainUtil.SystemFieldLabelTestCase.class,
GraphAlgorithms.TestCase.class,
Expand Down
4 changes: 3 additions & 1 deletion pipeline/src/org/labkey/pipeline/PipelineModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
import org.labkey.pipeline.api.PipelineStatusFileImpl;
import org.labkey.pipeline.api.PipelineStatusManager;
import org.labkey.pipeline.api.ScriptTaskFactory;
import org.labkey.pipeline.api.SimpleTaskFactory;
import org.labkey.pipeline.api.properties.ApplicationPropertiesSiteSettings;
import org.labkey.pipeline.cluster.ClusterStartup;
import org.labkey.pipeline.importer.FolderImportJob;
Expand Down Expand Up @@ -337,7 +338,8 @@ public void containerDeleted(Container c, User user)
PipelineJobMarshaller.TestCase.class,
PipelineJacksonTyping.TestCase.class,
PipelineJobServiceImpl.TestCase.class,
PipelineXStreamSecurity.TestCase.class
PipelineXStreamSecurity.TestCase.class,
SimpleTaskFactory.ParseInputTests.class
);
}

Expand Down
1 change: 1 addition & 0 deletions study/src/org/labkey/study/StudyModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -788,6 +788,7 @@ public WebPartView<?> getWebPartView(@NotNull ViewContext portalCtx, @NotNull Po
{
return Set.of(
DatasetDataWriter.TestCase.class,
DatasetQueryView.TestCase.class,
DefaultStudyDesignWriter.TestCase.class,
ParticipantIdImportHelper.ParticipantIdTest.class,
ReportsController.TestCase.class,
Expand Down