Skip to content

Commit

Permalink
renamed to mipt.diht; tests began
Browse files Browse the repository at this point in the history
  • Loading branch information
Pitovsky committed Oct 29, 2015
1 parent 7877870 commit e77075f
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 14 deletions.
6 changes: 0 additions & 6 deletions projects/Pitovsky/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@
<name>Pitovsky</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.twitter4j</groupId>
<artifactId>twitter4j-core</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ru.fizteh.fivt.pitovsky.twitterstream;
package ru.mipt.diht.students.pitovsky.twitterstream;

public class ConsoleUtils {
private static final char ESCAPE = (char) 27;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ru.fizteh.fivt.pitovsky.twitterstream;
package ru.mipt.diht.students.pitovsky.twitterstream;

import java.util.ArrayList;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ru.fizteh.fivt.pitovsky.twitterstream;
package ru.mipt.diht.students.pitovsky.twitterstream;

import java.io.BufferedReader;
import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ru.fizteh.fivt.pitovsky.twitterstream;
package ru.mipt.diht.students.pitovsky.twitterstream;

import java.util.ArrayList;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ru.fizteh.fivt.pitovsky.twitterstream;
package ru.mipt.diht.students.pitovsky.twitterstream;

public class SearchLocationException extends Exception {
SearchLocationException(String message) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ru.fizteh.fivt.pitovsky.twitterstream;
package ru.mipt.diht.students.pitovsky.twitterstream;

import java.util.Collections;
import java.util.HashMap;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ru.fizteh.fivt.pitovsky.twitterstream;
package ru.mipt.diht.students.pitovsky.twitterstream;

import java.io.IOException;
import java.time.Duration;
Expand All @@ -9,7 +9,7 @@
import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.BlockingQueue;

import ru.fizteh.fivt.pitovsky.twitterstream.ConsoleUtils.TextColor;
import ru.mipt.diht.students.pitovsky.twitterstream.ConsoleUtils.TextColor;
import twitter4j.FilterQuery;
import twitter4j.GeoQuery;
import twitter4j.Place;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package ru.mipt.diht.students.pitovsky.twitterstream.tests;

import org.junit.Test;

import ru.mipt.diht.students.pitovsky.twitterstream.StringRuUtils;
import junit.framework.TestCase;

public class StringRuUtilsTest extends TestCase {
@Test
public final void testGetNumeralWord() {
assertEquals(StringRuUtils.getNumeralWord("час", 1), "час");
}
}

0 comments on commit e77075f

Please sign in to comment.