private void AddTestContainerIfTestFile(string file) { var isTestFile = IsTestFile(file); RemoveTestContainer(file); // Remove if there is an existing container // If this is a test file if (isTestFile) { var container = new ProtractorTestContainer(this, file, ExecutorUri); cachedContainers.Add(container); } }
private ProtractorTestContainer(ProtractorTestContainer copy) : this(copy.discoverer, copy.Source, copy.ExecutorUri) { this.timeStamp = copy.timeStamp; }