You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by bh...@apache.org on 2019/03/19 15:07:33 UTC

[incubator-dlab] branch develop updated: DLAB-000 removed test

This is an automated email from the ASF dual-hosted git repository.

bhliva pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/develop by this push:
     new 36d86f7  DLAB-000 removed test
36d86f7 is described below

commit 36d86f7ec1a854c0ca4f4516be2af73b3e5c2a80
Author: bhliva <bo...@epam.com>
AuthorDate: Tue Mar 19 17:07:24 2019 +0200

    DLAB-000 removed test
---
 .../dlab/core/parser/ParserStatisticsTest.java     | 64 ----------------------
 1 file changed, 64 deletions(-)

diff --git a/services/billing-aws/src/test/java/com/epam/dlab/core/parser/ParserStatisticsTest.java b/services/billing-aws/src/test/java/com/epam/dlab/core/parser/ParserStatisticsTest.java
deleted file mode 100644
index 49d44dd..0000000
--- a/services/billing-aws/src/test/java/com/epam/dlab/core/parser/ParserStatisticsTest.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package com.epam.dlab.core.parser;
-
-import static junit.framework.TestCase.assertEquals;
-
-import org.junit.Test;
-
-public class ParserStatisticsTest {
-
-	@Test
-	public void test() {
-		ParserStatistics s = new ParserStatistics("name");
-		
-		assertEquals("name", s.getEntryName());
-
-		assertEquals(0, s.getRowFiltered());
-		s.incrRowFiltered();
-		assertEquals(1, s.getRowFiltered());
-		
-		assertEquals(0, s.getRowParsed());
-		s.incrRowParsed();
-		assertEquals(1, s.getRowParsed());
-		
-		assertEquals(0, s.getRowReaded());
-		s.incrRowReaded();
-		assertEquals(1, s.getRowReaded());
-		
-		assertEquals(0, s.getRowSkipped());
-		s.incrRowSkipped();
-		assertEquals(1, s.getRowSkipped());
-		
-		assertEquals(0, s.getRowWritten());
-		s.incrRowWritten();
-		assertEquals(1, s.getRowWritten());
-		
-		assertEquals(0, s.getElapsedTime());
-		
-		s.start();
-		assertEquals(0, s.getRowFiltered());
-		assertEquals(0, s.getRowParsed());
-		assertEquals(0, s.getRowReaded());
-		assertEquals(0, s.getRowSkipped());
-		assertEquals(0, s.getRowWritten());
-		assertEquals(0, s.getElapsedTime());
-	}
-}


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org