-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Using the latest scala ide 4.6.1 when trying to launch scalatest - test
it fails and eclipse errors shows
eclipse.buildId=4.5.0-vfinal-2016-12-13T10:59:29Z-Typesafe
java.version=1.8.0_111
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86_64
This is a continuation of log file /home/benigo/workspace-2.10/.metadata/.bak_0.log
Created Time: 2017-06-21 08:39:55.588
org.eclipse.core.filesystem
Error
Wed Jun 21 08:54:03 IDT 2017
Could not write file: /home/benigo/workspace-2.10/.metadata/.plugins/org.eclipse.debug.core/.launches/MethodInvocation(sknil.categories.WikipediaTaggingTest,convertToStringShouldWrapper,_knil.tags.UnitTest class WikipediaTaggingTest extends sknil.BasicTest {
def -init-()- sknil.categories.WikipediaTaggingTest = {
WikipediaTaggingTest.super.-init-();
()
};
def getAllCats(pageText- String, pageTitle- String)- (List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]) = {
val tagger- sknil.categories.wikipedia.WikipediaTagging = new sknil.categories.wikipedia.WikipediaTagging('', scala.None);
-synthetic- -artifact- private[this] val x$1- (String, String) = (tagger.wikiPageHandler.titleParts(pageTitle, pageText)- (String, String) _unchecked) match {
case (_1- String, _2- String)(String, String)((finalTitle _ _), (context _ _)) =- scala.Tuple2.apply[String, String](finalTitle, context)
};
val finalTitle- String = x$1._1;
val context- String = x$1._2;
val plainTextOpt- Option[String] = sknil.extractors.wikipedia.WikipediaClient.wikitextToPlainText(pageText, false, true).toOption;
val addedCategories- scala.collection.immutable.Set[String] = tagger.wikiPageHandler.getCategoriesForTitle(finalTitle);
tagger.wikiPageHandler.findCategoriesForPage(finalTitle, plainTextOpt, addedCategories, tagger.wikiPageHandler.findCategoriesForPage$default$4)
};
WikipediaTaggingTest.this.convertToStringShouldWrapper('WikipediaTagging')(source.this.Position.here, scalactic.this.Prettifier.default).should({
WikipediaTaggingTest.this.convertToWordSpecStringWrapper('detect abbreviations correctly').in({
val tagger- sknil.categories.wikipedia.WikipediaTagging = new sknil.categories.wikipedia.WikipediaTagging('', scala.None);
WikipediaTaggingTest.this.convertToAnyShouldWrapper[Boolean](CategoriesSearcher.isValidAbbreviation('It'))(source.this.Position.here, scalactic.this.Prettifier.default).shouldEqual(false)(scalactic.this.Equality.default[Boolean]);
WikipediaTaggingTest.this.convertToAnyShouldWrapper[Boolean](CategoriesSearcher.isValidAbbreviation('it'))(source.this.Position.here, scalactic.this.Prettifier.default).shouldEqual(false)(scalactic.this.Equality.default[Boolean]);
WikipediaTaggingTest.this.convertToAnyShouldWrapper[Boolean](CategoriesSearcher.isValidAbbreviation('IT'))(source.this.Position.here, scalactic.this.Prettifier.default).shouldEqual(true)(scalactic.this.Equality.default[Boolean]);
val wikiPage- String = scala.io.Source.fromFile(this.getClass().getResource('_categories_wikitext_agar.wiki').getFile())(io.this.Codec.fallbackSystemCodec).mkString;
-synthetic- -artifact- private[this] val x$2- (String, String) = (tagger.wikiPageHandler.titleParts('Daniel Amos', wikiPage)- (String, String) _unchecked) match {
case (_1- String, _2- String)(String, String)((finalTitle _ _), (context _ _)) =- scala.Tuple2.apply[String, String](finalTitle, context)
};
val finalTitle- String = x$2._1;
val context- String = x$2._2;
val plainTextOpt- Option[String] = sknil.extractors.wikipedia.WikipediaClient.wikitextToPlainText(wikiPage, false, true).toOption;
val addedCategories- scala.collection.immutable.Set[String] = tagger.wikiPageHandler.getCategoriesForTitle(finalTitle);
-synthetic- -artifact- private[this] val x$3- (List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]) = (tagger.wikiPageHandler.findCategoriesForPage(finalTitle, plainTextOpt, addedCategories, tagger.wikiPageHandler.findCategoriesForPage$default$4)- (List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]) _unchecked) match {
case (_1- List[sknil.categories.CategoriesSearcher.Category], _2- List[sknil.categories.CategoriesSearcher.Category])(List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category])((foundByInText _ _), (othersFoundByText _ _)) =- scala.Tuple2.apply[List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]](foundByInText, othersFoundByText)
};
val foundByInText- List[sknil.categories.CategoriesSearcher.Category] = x$3._1;
val othersFoundByText- List[sknil.categories.CategoriesSearcher.Category] = x$3._2;
val allCats- List[sknil.categories.CategoriesSearcher.Category] = foundByInText.++[sknil.categories.CategoriesSearcher.Category, List[sknil.categories.CategoriesSearcher.Category]](othersFoundByText)(immutable.this.List.canBuildFrom[sknil.categories.CategoriesSearcher.Category]);
WikipediaTaggingTest.this.convertToAnyShouldWrapper[Boolean](allCats.exists(((x$4- sknil.categories.CategoriesSearcher.Category) =- x$4.key.==('it'))))(source.this.Position.here, scalactic.this.Prettifier.default).shouldEqual(false)(scalactic.this.Equality.default[Boolean])
})(source.this.Position.here);
WikipediaTaggingTest.this.convertToWordSpecStringWrapper('count categories correctly').in({
val tagger- sknil.categories.wikipedia.WikipediaTagging = new sknil.categories.wikipedia.WikipediaTagging('', scala.None);
val wikiPage- String = scala.io.Source.fromFile(this.getClass().getResource('_categories_wikitext_eddiemurphy.wiki').getFile())(io.this.Codec.fallbackSystemCodec).mkString;
-synthetic- -artifact- private[this] val x$5- (String, String) = (tagger.wikiPageHandler.titleParts('Eddie Murphy', wikiPage)- (String, String) _unchecked) match {
case (_1- String, _2- String)(String, String)((finalTitle _ _), (context _ _)) =- scala.Tuple2.apply[String, String](finalTitle, context)
};
val finalTitle- String = x$5._1;
val context- String = x$5._2;
val plainTextOpt- Option[String] = sknil.extractors.wikipedia.WikipediaClient.wikitextToPlainText(wikiPage, false, true).toOption;
val addedCategories- scala.collection.immutable.Set[String] = tagger.wikiPageHandler.getCategoriesForTitle(finalTitle);
-synthetic- -artifact- private[this] val x$6- (List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]) = (tagger.wikiPageHandler.findCategoriesForPage(finalTitle, plainTextOpt, addedCategories, tagger.wikiPageHandler.findCategoriesForPage$default$4)- (List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]) _unchecked) match {
case (_1- List[sknil.categories.CategoriesSearcher.Category], _2- List[sknil.categories.CategoriesSearcher.Category])(List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category])((foundByInText _ _), (othersFoundByText _ _)) =- scala.Tuple2.apply[List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]](foundByInText, othersFoundByText)
};
val foundByInText- List[sknil.categories.CategoriesSearcher.Category] = x$6._1;
val othersFoundByText- List[sknil.categories.CategoriesSearcher.Category] = x$6._2;
val allCats- List[sknil.categories.CategoriesSearcher.Category] = foundByInText.++[sknil.categories.CategoriesSearcher.Category, List[sknil.categories.CategoriesSearcher.Category]](othersFoundByText)(immutable.this.List.canBuildFrom[sknil.categories.CategoriesSearcher.Category]);
val historyCat- Option[sknil.categories.CategoriesSearcher.Category] = allCats.find(((x$7- sknil.categories.CategoriesSearcher.Category) =- x$7.key.==('history')));
val comedyCat- Option[sknil.categories.CategoriesSearcher.Category] = allCats.find(((x$8- sknil.categories.CategoriesSearcher.Category) =- x$8.key.==('comedy movie')));
WikipediaTaggingTest.this.convertToAnyShouldWrapper[Option[sknil.categories.CategoriesSearcher.Category]](comedyCat)(source.this.Position.here, scalactic.this.Prettifier.default).should(WikipediaTaggingTest.this.not).be[Nothing](WikipediaTaggingTest.this.empty)(enablers.this.Emptiness.emptinessOfOption[sknil.categories.CategoriesSearcher.Category, [e]Option[e]]);
WikipediaTaggingTest.this.convertToAnyShouldWrapper[Option[String]](comedyCat.map[String](((x$9- sknil.categories.CategoriesSearcher.Category) =- x$9.bestDefLower)))(source.this.Position.here, scalactic.this.Prettifier.default).shouldEqual(scala.Some.apply[String]('comedy movies'))(scalactic.this.Equality.default[Option[String]]);
WikipediaTaggingTest.this.convertToAnyShouldWrapper[Option[sknil.categories.CategoriesSearcher.Category]](historyCat)(source.this.Position.here, scalactic.this.Prettifier.default).shouldBe(WikipediaTaggingTest.this.empty)(enablers.this.Emptiness.emptinessOfOption[sknil.categories.CategoriesSearcher.Category, [e]Option[e]])
})(source.this.Position.here);
WikipediaTaggingTest.this.convertToWordSpecStringWrapper('exclude lowercase count-2 categories').in({
val wikiPage- String = scala.io.Source.fromFile(this.getClass().getResource('_categories_wikitext_danielamos.wiki').getFile())(io.this.Codec.fallbackSystemCodec).mkString;
val tagger- sknil.categories.wikipedia.WikipediaTagging = new sknil.categories.wikipedia.WikipediaTagging('', scala.None);
-synthetic- -artifact- private[this] val x$10- (String, String) = (tagger.wikiPageHandler.titleParts('Daniel Amos', wikiPage)- (String, String) _unchecked) match {
case (_1- String, _2- String)(String, String)((finalTitle _ _), (context _ _)) =- scala.Tuple2.apply[String, String](finalTitle, context)
};
val finalTitle- String = x$10._1;
val context- String = x$10._2;
val plainTextOpt- Option[String] = sknil.extractors.wikipedia.WikipediaClient.wikitextToPlainText(wikiPage, false, true).toOption;
val addedCategories- scala.collection.immutable.Set[String] = tagger.wikiPageHandler.getCategoriesForTitle(finalTitle);
-synthetic- -artifact- private[this] val x$11- (List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]) = (tagger.wikiPageHandler.findCategoriesForPage(finalTitle, plainTextOpt, addedCategories, tagger.wikiPageHandler.findCategoriesForPage$default$4)- (List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]) _unchecked) match {
case (_1- List[sknil.categories.CategoriesSearcher.Category], _2- List[sknil.categories.CategoriesSearcher.Category])(List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category])((foundByInText _ _), (othersFoundByText _ _)) =- scala.Tuple2.apply[List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]](foundByInText, othersFoundByText)
};
val foundByInText- List[sknil.categories.CategoriesSearcher.Category] = x$11._1;
val othersFoundByText- List[sknil.categories.CategoriesSearcher.Category] = x$11._2;
val allCats- List[sknil.categories.CategoriesSearcher.Category] = foundByInText.++[sknil.categories.CategoriesSearcher.Category, List[sknil.categories.CategoriesSearcher.Category]](othersFoundByText)(immutable.this.List.canBuildFrom[sknil.categories.CategoriesSearcher.Category]);
val bookCat- Option[sknil.categories.CategoriesSearcher.Category] = allCats.find(((x$12- sknil.categories.CategoriesSearcher.Category) =- x$12.key.==('book')));
val booksCat- Option[sknil.categories.CategoriesSearcher.Category] = allCats.find(((x$13- sknil.categories.CategoriesSearcher.Category) =- x$13.key.==('books')));
WikipediaTaggingTest.this.convertToAnyShouldWrapper[Option[sknil.categories.CategoriesSearcher.Category]](bookCat)(source.this.Position.here, scalactic.this.Prettifier.default).shouldBe(WikipediaTaggingTest.this.empty)(enablers.this.Emptiness.emptinessOfOption[sknil.categories.CategoriesSearcher.Category, [e]Option[e]]);
WikipediaTaggingTest.this.convertToAnyShouldWrapper[Option[sknil.categories.CategoriesSearcher.Category]](booksCat)(source.this.Position.here, scalactic.this.Prettifier.default).shouldBe(WikipediaTaggingTest.this.empty)(enablers.this.Emptiness.emptinessOfOption[sknil.categories.CategoriesSearcher.Category, [e]Option[e]])
})(source.this.Position.here);
WikipediaTaggingTest.this.convertToWordSpecStringWrapper('find minimum 10 categories').in({
val wikiPage- String = scala.io.Source.fromFile(this.getClass().getResource('_categories_wikitext_mensmagazine.wiki').getFile())(io.this.Codec.fallbackSystemCodec).mkString;
val tagger- sknil.categories.wikipedia.WikipediaTagging = new sknil.categories.wikipedia.WikipediaTagging('', scala.None);
-synthetic- -artifact- private[this] val x$14- (String, String) = (tagger.wikiPageHandler.titleParts('Men_'s Fitness', wikiPage)- (String, String) _unchecked) match {
case (_1- String, _2- String)(String, String)((finalTitle _ _), (context _ _)) =- scala.Tuple2.apply[String, String](finalTitle, context)
};
val finalTitle- String = x$14._1;
val context- String = x$14._2;
val plainTextOpt- Option[String] = sknil.extractors.wikipedia.WikipediaClient.wikitextToPlainText(wikiPage, false, true).toOption;
val addedCategories- scala.collection.immutable.Set[String] = tagger.wikiPageHandler.getCategoriesForTitle(finalTitle);
-synthetic- -artifact- private[this] val x$15- (List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]) = (tagger.wikiPageHandler.findCategoriesForPage(finalTitle, plainTextOpt, addedCategories, tagger.wikiPageHandler.findCategoriesForPage$default$4)- (List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]) _unchecked) match {
case (_1- List[sknil.categories.CategoriesSearcher.Category], _2- List[sknil.categories.CategoriesSearcher.Category])(List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category])((foundByInText _ _), (othersFoundByText _ _)) =- scala.Tuple2.apply[List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]](foundByInText, othersFoundByText)
};
val foundByInText- List[sknil.categories.CategoriesSearcher.Category] = x$15._1;
val othersFoundByText- List[sknil.categories.CategoriesSearcher.Category] = x$15._2;
val allCats- List[sknil.categories.CategoriesSearcher.Category] = foundByInText.++[sknil.categories.CategoriesSearcher.Category, List[sknil.categories.CategoriesSearcher.Category]](othersFoundByText)(immutable.this.List.canBuildFrom[sknil.categories.CategoriesSearcher.Category]);
val cat1- Option[sknil.categories.CategoriesSearcher.Category] = allCats.find(((x$16- sknil.categories.CategoriesSearcher.Category) =- x$16.bestDefLower.==('fitness')));
val cat2- Option[sknil.categories.CategoriesSearcher.Category] = allCats.find(((x$17- sknil.categories.CategoriesSearcher.Category) =- x$17.bestDefLower.==('sports')));
WikipediaTaggingTest.this.convertToAnyShouldWrapper[Int](foundByInText.size)(source.this.Position.here, scalactic.this.Prettifier.default).shouldBe(3);
WikipediaTaggingTest.this.convertToAnyShouldWrapper[Option[sknil.categories.CategoriesSearcher.Category]](allCats.find(((x$18- sknil.categories.CategoriesSearcher.Category) =- x$18.bestDefLower.==('comedy movies'))))(source.this.Position.here, scalactic.this.Prettifier.default).shouldBe(scala.None);
WikipediaTaggingTest.this.convertToAnyShouldWrapper[Option[sknil.categories.CategoriesSearcher.Category]](cat2)(source.this.Position.here, scalactic.this.Prettifier.default).should(WikipediaTaggingTest.this.not).be[Nothing](WikipediaTaggingTest.this.empty)(enablers.this.Emptiness.emptinessOfOption[sknil.categories.CategoriesSearcher.Category, [e]Option[e]]);
WikipediaTaggingTest.this.convertToAnyShouldWrapper[Option[sknil.categories.CategoriesSearcher.Category]](cat1)(source.this.Position.here, scalactic.this.Prettifier.default).should(WikipediaTaggingTest.this.not).be[Nothing](WikipediaTaggingTest.this.empty)(enablers.this.Emptiness.emptinessOfOption[sknil.categories.CategoriesSearcher.Category, [e]Option[e]])
})(source.this.Position.here);
WikipediaTaggingTest.this.convertToWordSpecStringWrapper('not merge single words into category').in({
val wikiPage- String = scala.io.Source.fromFile(this.getClass().getResource('_categories_wikitext_afghanistan.wiki').getFile())(io.this.Codec.fallbackSystemCodec).mkString;
-synthetic- -artifact- private[this] val x$19- (List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]) = (WikipediaTaggingTest.this.getAllCats(wikiPage, 'Afghanistan')- (List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]) _unchecked) match {
case (_1- List[sknil.categories.CategoriesSearcher.Category], _2- List[sknil.categories.CategoriesSearcher.Category])(List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category])((foundByInText _ _), (othersFoundByText _ _)) =- scala.Tuple2.apply[List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]](foundByInText, othersFoundByText)
};
val foundByInText- List[sknil.categories.CategoriesSearcher.Category] = x$19._1;
val othersFoundByText- List[sknil.categories.CategoriesSearcher.Category] = x$19._2;
val allCats- List[sknil.categories.CategoriesSearcher.Category] = foundByInText.++[sknil.categories.CategoriesSearcher.Category, List[sknil.categories.CategoriesSearcher.Category]](othersFoundByText)(immutable.this.List.canBuildFrom[sknil.categories.CategoriesSearcher.Category]);
val cat1- Option[sknil.categories.CategoriesSearcher.Category] = allCats.find(((x$20- sknil.categories.CategoriesSearcher.Category) =- x$20.bestDefLower.==('country music')));
WikipediaTaggingTest.this.convertToAnyShouldWrapper[Option[sknil.categories.CategoriesSearcher.Category]](cat1)(source.this.Position.here, scalactic.this.Prettifier.default).shouldBe(WikipediaTaggingTest.this.empty)(enablers.this.Emptiness.emptinessOfOption[sknil.categories.CategoriesSearcher.Category, [e]Option[e]])
})(source.this.Position.here);
WikipediaTaggingTest.this.convertToWordSpecStringWrapper('have main category context').in({
val wikiUrl- String = 'https-__en.wikipedia.org_w_api.php_action=query_prop=revisions_rvprop=content_format=xml_titles=';
val titles- List[String] = scala.collection.immutable.List.apply[String]('Bacterial vaginosis', 'Chicago 0Bulls', 'Israel Defense Forces', 'Team Penske', 'National Hockey League');
val toFetch- String = wikiUrl.+(titles.map[String, List[String]](((x$21- String) =- java.net.URLEncoder.encode(x$21, 'UTF-8')))(immutable.this.List.canBuildFrom[String]).mkString('_'));
val page- sknil.utils.FetchedUrl = {
-artifact- val x$23- String = toFetch;
-artifact- val x$24- Boolean = true;
-artifact- val x$25- Boolean = false;
-artifact- val x$26- Int = sknil.utils.Internet.fetchUrl$default$3;
-artifact- val x$27- Int = sknil.utils.Internet.fetchUrl$default$4;
-artifact- val x$28- org.apache.http.impl.client.CloseableHttpClient = sknil.utils.Internet.fetchUrl$default$5;
-artifact- val x$29- org.apache.http.protocol.HttpContext = sknil.utils.Internet.fetchUrl$default$6;
-artifact- val x$30- Boolean = sknil.utils.Internet.fetchUrl$default$8;
-artifact- val x$31- Boolean = sknil.utils.Internet.fetchUrl$default$9;
-artifact- val x$32- Boolean = sknil.utils.Internet.fetchUrl$default$10;
-artifact- val x$33- sknil.utils.HttpMethodName.Value = sknil.utils.Internet.fetchUrl$default$11;
-artifact- val x$34- String = sknil.utils.Internet.fetchUrl$default$12;
sknil.utils.Internet.fetchUrl(x$23, x$24, x$26, x$27, x$28, x$29, x$25, x$30, x$31, x$32, x$33, x$34)
};
val parser- scala.xml.Elem = scala.xml.XML.loadString(page.getSource);
val pages- scala.collection.immutable.Seq[(scala.xml.Node, String)] = parser.__('rev').zip[scala.xml.Node, String, scala.collection.immutable.Seq[(scala.xml.Node, String)]](titles)(immutable.this.Seq.canBuildFrom[(scala.xml.Node, String)]);
pages.foreach[org.scalatest.Assertion](((rev- (scala.xml.Node, String)) =- {
val text- String = rev._1.text;
-synthetic- -artifact- private[this] val x$22- (List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]) = (WikipediaTaggingTest.this.getAllCats(text, rev._2)- (List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]) _unchecked) match {
case (_1- List[sknil.categories.CategoriesSearcher.Category], _2- List[sknil.categories.CategoriesSearcher.Category])(List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category])((foundByInText _ _), (othersFoundByText _ _)) =- scala.Tuple2.apply[List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]](foundByInText, othersFoundByText)
};
val foundByInText- List[sknil.categories.CategoriesSearcher.Category] = x$22._1;
val othersFoundByText- List[sknil.categories.CategoriesSearcher.Category] = x$22._2;
WikipediaTaggingTest.this.convertToAnyShouldWrapper[List[sknil.categories.CategoriesSearcher.Category]](foundByInText)(source.this.Position.here, scalactic.this.Prettifier.default).should(WikipediaTaggingTest.this.not).be[Nothing](WikipediaTaggingTest.this.empty)(enablers.this.Emptiness.emptinessOfGenTraversable[sknil.categories.CategoriesSearcher.Category, [e]scala.collection.GenTraversable[e]])
}))
})(source.this.Position.here)
})(WikipediaTaggingTest.this.subjectRegistrationFunction)
},WikipediaTaggingTest.this.convertToStringShouldWrapper('WikipediaTagging')(source.this.Position.here, scalactic.this.Prettifier.default),convertToStringShouldWrapper,List(WikipediaTagging)) should have main category context.launch.
java.io.FileNotFoundException: /home/benigo/workspace-2.10/.metadata/.plugins/org.eclipse.debug.core/.launches/MethodInvocation(sknil.categories.WikipediaTaggingTest,convertToStringShouldWrapper,_knil.tags.UnitTest class WikipediaTaggingTest extends sknil.BasicTest {
def -init-()- sknil.categories.WikipediaTaggingTest = {
WikipediaTaggingTest.super.-init-();
()
};
def getAllCats(pageText- String, pageTitle- String)- (List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]) = {
val tagger- sknil.categories.wikipedia.WikipediaTagging = new sknil.categories.wikipedia.WikipediaTagging('', scala.None);
-synthetic- -artifact- private[this] val x$1- (String, String) = (tagger.wikiPageHandler.titleParts(pageTitle, pageText)- (String, String) _unchecked) match {
case (_1- String, _2- String)(String, String)((finalTitle _ _), (context _ _)) =- scala.Tuple2.apply[String, String](finalTitle, context)
};
val finalTitle- String = x$1._1;
val context- String = x$1._2;
val plainTextOpt- Option[String] = sknil.extractors.wikipedia.WikipediaClient.wikitextToPlainText(pageText, false, true).toOption;
val addedCategories- scala.collection.immutable.Set[String] = tagger.wikiPageHandler.getCategoriesForTitle(finalTitle);
tagger.wikiPageHandler.findCategoriesForPage(finalTitle, plainTextOpt, addedCategories, tagger.wikiPageHandler.findCategoriesForPage$default$4)
};
WikipediaTaggingTest.this.convertToStringShouldWrapper('WikipediaTagging')(source.this.Position.here, scalactic.this.Prettifier.default).should({
WikipediaTaggingTest.this.convertToWordSpecStringWrapper('detect abbreviations correctly').in({
val tagger- sknil.categories.wikipedia.WikipediaTagging = new sknil.categories.wikipedia.WikipediaTagging('', scala.None);
WikipediaTaggingTest.this.convertToAnyShouldWrapper[Boolean](CategoriesSearcher.isValidAbbreviation('It'))(source.this.Position.here, scalactic.this.Prettifier.default).shouldEqual(false)(scalactic.this.Equality.default[Boolean]);
WikipediaTaggingTest.this.convertToAnyShouldWrapper[Boolean](CategoriesSearcher.isValidAbbreviation('it'))(source.this.Position.here, scalactic.this.Prettifier.default).shouldEqual(false)(scalactic.this.Equality.default[Boolean]);
WikipediaTaggingTest.this.convertToAnyShouldWrapper[Boolean](CategoriesSearcher.isValidAbbreviation('IT'))(source.this.Position.here, scalactic.this.Prettifier.default).shouldEqual(true)(scalactic.this.Equality.default[Boolean]);
val wikiPage- String = scala.io.Source.fromFile(this.getClass().getResource('_categories_wikitext_agar.wiki').getFile())(io.this.Codec.fallbackSystemCodec).mkString;
-synthetic- -artifact- private[this] val x$2- (String, String) = (tagger.wikiPageHandler.titleParts('Daniel Amos', wikiPage)- (String, String) _unchecked) match {
case (_1- String, _2- String)(String, String)((finalTitle _ _), (context _ _)) =- scala.Tuple2.apply[String, String](finalTitle, context)
};
val finalTitle- String = x$2._1;
val context- String = x$2._2;
val plainTextOpt- Option[String] = sknil.extractors.wikipedia.WikipediaClient.wikitextToPlainText(wikiPage, false, true).toOption;
val addedCategories- scala.collection.immutable.Set[String] = tagger.wikiPageHandler.getCategoriesForTitle(finalTitle);
-synthetic- -artifact- private[this] val x$3- (List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]) = (tagger.wikiPageHandler.findCategoriesForPage(finalTitle, plainTextOpt, addedCategories, tagger.wikiPageHandler.findCategoriesForPage$default$4)- (List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]) _unchecked) match {
case (_1- List[sknil.categories.CategoriesSearcher.Category], _2- List[sknil.categories.CategoriesSearcher.Category])(List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category])((foundByInText _ _), (othersFoundByText _ _)) =- scala.Tuple2.apply[List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]](foundByInText, othersFoundByText)
};
val foundByInText- List[sknil.categories.CategoriesSearcher.Category] = x$3._1;
val othersFoundByText- List[sknil.categories.CategoriesSearcher.Category] = x$3._2;
val allCats- List[sknil.categories.CategoriesSearcher.Category] = foundByInText.++[sknil.categories.CategoriesSearcher.Category, List[sknil.categories.CategoriesSearcher.Category]](othersFoundByText)(immutable.this.List.canBuildFrom[sknil.categories.CategoriesSearcher.Category]);
WikipediaTaggingTest.this.convertToAnyShouldWrapper[Boolean](allCats.exists(((x$4- sknil.categories.CategoriesSearcher.Category) =- x$4.key.==('it'))))(source.this.Position.here, scalactic.this.Prettifier.default).shouldEqual(false)(scalactic.this.Equality.default[Boolean])
})(source.this.Position.here);
WikipediaTaggingTest.this.convertToWordSpecStringWrapper('count categories correctly').in({
val tagger- sknil.categories.wikipedia.WikipediaTagging = new sknil.categories.wikipedia.WikipediaTagging('', scala.None);
val wikiPage- String = scala.io.Source.fromFile(this.getClass().getResource('_categories_wikitext_eddiemurphy.wiki').getFile())(io.this.Codec.fallbackSystemCodec).mkString;
-synthetic- -artifact- private[this] val x$5- (String, String) = (tagger.wikiPageHandler.titleParts('Eddie Murphy', wikiPage)- (String, String) _unchecked) match {
case (_1- String, _2- String)(String, String)((finalTitle _ _), (context _ _)) =- scala.Tuple2.apply[String, String](finalTitle, context)
};
val finalTitle- String = x$5._1;
val context- String = x$5._2;
val plainTextOpt- Option[String] = sknil.extractors.wikipedia.WikipediaClient.wikitextToPlainText(wikiPage, false, true).toOption;
val addedCategories- scala.collection.immutable.Set[String] = tagger.wikiPageHandler.getCategoriesForTitle(finalTitle);
-synthetic- -artifact- private[this] val x$6- (List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]) = (tagger.wikiPageHandler.findCategoriesForPage(finalTitle, plainTextOpt, addedCategories, tagger.wikiPageHandler.findCategoriesForPage$default$4)- (List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]) _unchecked) match {
case (_1- List[sknil.categories.CategoriesSearcher.Category], _2- List[sknil.categories.CategoriesSearcher.Category])(List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category])((foundByInText _ _), (othersFoundByText _ _)) =- scala.Tuple2.apply[List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]](foundByInText, othersFoundByText)
};
val foundByInText- List[sknil.categories.CategoriesSearcher.Category] = x$6._1;
val othersFoundByText- List[sknil.categories.CategoriesSearcher.Category] = x$6._2;
val allCats- List[sknil.categories.CategoriesSearcher.Category] = foundByInText.++[sknil.categories.CategoriesSearcher.Category, List[sknil.categories.CategoriesSearcher.Category]](othersFoundByText)(immutable.this.List.canBuildFrom[sknil.categories.CategoriesSearcher.Category]);
val historyCat- Option[sknil.categories.CategoriesSearcher.Category] = allCats.find(((x$7- sknil.categories.CategoriesSearcher.Category) =- x$7.key.==('history')));
val comedyCat- Option[sknil.categories.CategoriesSearcher.Category] = allCats.find(((x$8- sknil.categories.CategoriesSearcher.Category) =- x$8.key.==('comedy movie')));
WikipediaTaggingTest.this.convertToAnyShouldWrapper[Option[sknil.categories.CategoriesSearcher.Category]](comedyCat)(source.this.Position.here, scalactic.this.Prettifier.default).should(WikipediaTaggingTest.this.not).be[Nothing](WikipediaTaggingTest.this.empty)(enablers.this.Emptiness.emptinessOfOption[sknil.categories.CategoriesSearcher.Category, [e]Option[e]]);
WikipediaTaggingTest.this.convertToAnyShouldWrapper[Option[String]](comedyCat.map[String](((x$9- sknil.categories.CategoriesSearcher.Category) =- x$9.bestDefLower)))(source.this.Position.here, scalactic.this.Prettifier.default).shouldEqual(scala.Some.apply[String]('comedy movies'))(scalactic.this.Equality.default[Option[String]]);
WikipediaTaggingTest.this.convertToAnyShouldWrapper[Option[sknil.categories.CategoriesSearcher.Category]](historyCat)(source.this.Position.here, scalactic.this.Prettifier.default).shouldBe(WikipediaTaggingTest.this.empty)(enablers.this.Emptiness.emptinessOfOption[sknil.categories.CategoriesSearcher.Category, [e]Option[e]])
})(source.this.Position.here);
WikipediaTaggingTest.this.convertToWordSpecStringWrapper('exclude lowercase count-2 categories').in({
val wikiPage- String = scala.io.Source.fromFile(this.getClass().getResource('_categories_wikitext_danielamos.wiki').getFile())(io.this.Codec.fallbackSystemCodec).mkString;
val tagger- sknil.categories.wikipedia.WikipediaTagging = new sknil.categories.wikipedia.WikipediaTagging('', scala.None);
-synthetic- -artifact- private[this] val x$10- (String, String) = (tagger.wikiPageHandler.titleParts('Daniel Amos', wikiPage)- (String, String) _unchecked) match {
case (_1- String, _2- String)(String, String)((finalTitle _ _), (context _ _)) =- scala.Tuple2.apply[String, String](finalTitle, context)
};
val finalTitle- String = x$10._1;
val context- String = x$10._2;
val plainTextOpt- Option[String] = sknil.extractors.wikipedia.WikipediaClient.wikitextToPlainText(wikiPage, false, true).toOption;
val addedCategories- scala.collection.immutable.Set[String] = tagger.wikiPageHandler.getCategoriesForTitle(finalTitle);
-synthetic- -artifact- private[this] val x$11- (List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]) = (tagger.wikiPageHandler.findCategoriesForPage(finalTitle, plainTextOpt, addedCategories, tagger.wikiPageHandler.findCategoriesForPage$default$4)- (List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]) _unchecked) match {
case (_1- List[sknil.categories.CategoriesSearcher.Category], _2- List[sknil.categories.CategoriesSearcher.Category])(List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category])((foundByInText _ _), (othersFoundByText _ _)) =- scala.Tuple2.apply[List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]](foundByInText, othersFoundByText)
};
val foundByInText- List[sknil.categories.CategoriesSearcher.Category] = x$11._1;
val othersFoundByText- List[sknil.categories.CategoriesSearcher.Category] = x$11._2;
val allCats- List[sknil.categories.CategoriesSearcher.Category] = foundByInText.++[sknil.categories.CategoriesSearcher.Category, List[sknil.categories.CategoriesSearcher.Category]](othersFoundByText)(immutable.this.List.canBuildFrom[sknil.categories.CategoriesSearcher.Category]);
val bookCat- Option[sknil.categories.CategoriesSearcher.Category] = allCats.find(((x$12- sknil.categories.CategoriesSearcher.Category) =- x$12.key.==('book')));
val booksCat- Option[sknil.categories.CategoriesSearcher.Category] = allCats.find(((x$13- sknil.categories.CategoriesSearcher.Category) =- x$13.key.==('books')));
WikipediaTaggingTest.this.convertToAnyShouldWrapper[Option[sknil.categories.CategoriesSearcher.Category]](bookCat)(source.this.Position.here, scalactic.this.Prettifier.default).shouldBe(WikipediaTaggingTest.this.empty)(enablers.this.Emptiness.emptinessOfOption[sknil.categories.CategoriesSearcher.Category, [e]Option[e]]);
WikipediaTaggingTest.this.convertToAnyShouldWrapper[Option[sknil.categories.CategoriesSearcher.Category]](booksCat)(source.this.Position.here, scalactic.this.Prettifier.default).shouldBe(WikipediaTaggingTest.this.empty)(enablers.this.Emptiness.emptinessOfOption[sknil.categories.CategoriesSearcher.Category, [e]Option[e]])
})(source.this.Position.here);
WikipediaTaggingTest.this.convertToWordSpecStringWrapper('find minimum 10 categories').in({
val wikiPage- String = scala.io.Source.fromFile(this.getClass().getResource('_categories_wikitext_mensmagazine.wiki').getFile())(io.this.Codec.fallbackSystemCodec).mkString;
val tagger- sknil.categories.wikipedia.WikipediaTagging = new sknil.categories.wikipedia.WikipediaTagging('', scala.None);
-synthetic- -artifact- private[this] val x$14- (String, String) = (tagger.wikiPageHandler.titleParts('Men_'s Fitness', wikiPage)- (String, String) _unchecked) match {
case (_1- String, _2- String)(String, String)((finalTitle _ _), (context _ _)) =- scala.Tuple2.apply[String, String](finalTitle, context)
};
val finalTitle- String = x$14._1;
val context- String = x$14._2;
val plainTextOpt- Option[String] = sknil.extractors.wikipedia.WikipediaClient.wikitextToPlainText(wikiPage, false, true).toOption;
val addedCategories- scala.collection.immutable.Set[String] = tagger.wikiPageHandler.getCategoriesForTitle(finalTitle);
-synthetic- -artifact- private[this] val x$15- (List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]) = (tagger.wikiPageHandler.findCategoriesForPage(finalTitle, plainTextOpt, addedCategories, tagger.wikiPageHandler.findCategoriesForPage$default$4)- (List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]) _unchecked) match {
case (_1- List[sknil.categories.CategoriesSearcher.Category], _2- List[sknil.categories.CategoriesSearcher.Category])(List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category])((foundByInText _ _), (othersFoundByText _ _)) =- scala.Tuple2.apply[List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]](foundByInText, othersFoundByText)
};
val foundByInText- List[sknil.categories.CategoriesSearcher.Category] = x$15._1;
val othersFoundByText- List[sknil.categories.CategoriesSearcher.Category] = x$15._2;
val allCats- List[sknil.categories.CategoriesSearcher.Category] = foundByInText.++[sknil.categories.CategoriesSearcher.Category, List[sknil.categories.CategoriesSearcher.Category]](othersFoundByText)(immutable.this.List.canBuildFrom[sknil.categories.CategoriesSearcher.Category]);
val cat1- Option[sknil.categories.CategoriesSearcher.Category] = allCats.find(((x$16- sknil.categories.CategoriesSearcher.Category) =- x$16.bestDefLower.==('fitness')));
val cat2- Option[sknil.categories.CategoriesSearcher.Category] = allCats.find(((x$17- sknil.categories.CategoriesSearcher.Category) =- x$17.bestDefLower.==('sports')));
WikipediaTaggingTest.this.convertToAnyShouldWrapper[Int](foundByInText.size)(source.this.Position.here, scalactic.this.Prettifier.default).shouldBe(3);
WikipediaTaggingTest.this.convertToAnyShouldWrapper[Option[sknil.categories.CategoriesSearcher.Category]](allCats.find(((x$18- sknil.categories.CategoriesSearcher.Category) =- x$18.bestDefLower.==('comedy movies'))))(source.this.Position.here, scalactic.this.Prettifier.default).shouldBe(scala.None);
WikipediaTaggingTest.this.convertToAnyShouldWrapper[Option[sknil.categories.CategoriesSearcher.Category]](cat2)(source.this.Position.here, scalactic.this.Prettifier.default).should(WikipediaTaggingTest.this.not).be[Nothing](WikipediaTaggingTest.this.empty)(enablers.this.Emptiness.emptinessOfOption[sknil.categories.CategoriesSearcher.Category, [e]Option[e]]);
WikipediaTaggingTest.this.convertToAnyShouldWrapper[Option[sknil.categories.CategoriesSearcher.Category]](cat1)(source.this.Position.here, scalactic.this.Prettifier.default).should(WikipediaTaggingTest.this.not).be[Nothing](WikipediaTaggingTest.this.empty)(enablers.this.Emptiness.emptinessOfOption[sknil.categories.CategoriesSearcher.Category, [e]Option[e]])
})(source.this.Position.here);
WikipediaTaggingTest.this.convertToWordSpecStringWrapper('not merge single words into category').in({
val wikiPage- String = scala.io.Source.fromFile(this.getClass().getResource('_categories_wikitext_afghanistan.wiki').getFile())(io.this.Codec.fallbackSystemCodec).mkString;
-synthetic- -artifact- private[this] val x$19- (List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]) = (WikipediaTaggingTest.this.getAllCats(wikiPage, 'Afghanistan')- (List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]) _unchecked) match {
case (_1- List[sknil.categories.CategoriesSearcher.Category], _2- List[sknil.categories.CategoriesSearcher.Category])(List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category])((foundByInText _ _), (othersFoundByText _ _)) =- scala.Tuple2.apply[List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]](foundByInText, othersFoundByText)
};
val foundByInText- List[sknil.categories.CategoriesSearcher.Category] = x$19._1;
val othersFoundByText- List[sknil.categories.CategoriesSearcher.Category] = x$19._2;
val allCats- List[sknil.categories.CategoriesSearcher.Category] = foundByInText.++[sknil.categories.CategoriesSearcher.Category, List[sknil.categories.CategoriesSearcher.Category]](othersFoundByText)(immutable.this.List.canBuildFrom[sknil.categories.CategoriesSearcher.Category]);
val cat1- Option[sknil.categories.CategoriesSearcher.Category] = allCats.find(((x$20- sknil.categories.CategoriesSearcher.Category) =- x$20.bestDefLower.==('country music')));
WikipediaTaggingTest.this.convertToAnyShouldWrapper[Option[sknil.categories.CategoriesSearcher.Category]](cat1)(source.this.Position.here, scalactic.this.Prettifier.default).shouldBe(WikipediaTaggingTest.this.empty)(enablers.this.Emptiness.emptinessOfOption[sknil.categories.CategoriesSearcher.Category, [e]Option[e]])
})(source.this.Position.here);
WikipediaTaggingTest.this.convertToWordSpecStringWrapper('have main category context').in({
val wikiUrl- String = 'https-__en.wikipedia.org_w_api.php_action=query_prop=revisions_rvprop=content_format=xml_titles=';
val titles- List[String] = scala.collection.immutable.List.apply[String]('Bacterial vaginosis', 'Chicago 0Bulls', 'Israel Defense Forces', 'Team Penske', 'National Hockey League');
val toFetch- String = wikiUrl.+(titles.map[String, List[String]](((x$21- String) =- java.net.URLEncoder.encode(x$21, 'UTF-8')))(immutable.this.List.canBuildFrom[String]).mkString('_'));
val page- sknil.utils.FetchedUrl = {
-artifact- val x$23- String = toFetch;
-artifact- val x$24- Boolean = true;
-artifact- val x$25- Boolean = false;
-artifact- val x$26- Int = sknil.utils.Internet.fetchUrl$default$3;
-artifact- val x$27- Int = sknil.utils.Internet.fetchUrl$default$4;
-artifact- val x$28- org.apache.http.impl.client.CloseableHttpClient = sknil.utils.Internet.fetchUrl$default$5;
-artifact- val x$29- org.apache.http.protocol.HttpContext = sknil.utils.Internet.fetchUrl$default$6;
-artifact- val x$30- Boolean = sknil.utils.Internet.fetchUrl$default$8;
-artifact- val x$31- Boolean = sknil.utils.Internet.fetchUrl$default$9;
-artifact- val x$32- Boolean = sknil.utils.Internet.fetchUrl$default$10;
-artifact- val x$33- sknil.utils.HttpMethodName.Value = sknil.utils.Internet.fetchUrl$default$11;
-artifact- val x$34- String = sknil.utils.Internet.fetchUrl$default$12;
sknil.utils.Internet.fetchUrl(x$23, x$24, x$26, x$27, x$28, x$29, x$25, x$30, x$31, x$32, x$33, x$34)
};
val parser- scala.xml.Elem = scala.xml.XML.loadString(page.getSource);
val pages- scala.collection.immutable.Seq[(scala.xml.Node, String)] = parser.__('rev').zip[scala.xml.Node, String, scala.collection.immutable.Seq[(scala.xml.Node, String)]](titles)(immutable.this.Seq.canBuildFrom[(scala.xml.Node, String)]);
pages.foreach[org.scalatest.Assertion](((rev- (scala.xml.Node, String)) =- {
val text- String = rev._1.text;
-synthetic- -artifact- private[this] val x$22- (List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]) = (WikipediaTaggingTest.this.getAllCats(text, rev._2)- (List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]) _unchecked) match {
case (_1- List[sknil.categories.CategoriesSearcher.Category], _2- List[sknil.categories.CategoriesSearcher.Category])(List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category])((foundByInText _ _), (othersFoundByText _ _)) =- scala.Tuple2.apply[List[sknil.categories.CategoriesSearcher.Category], List[sknil.categories.CategoriesSearcher.Category]](foundByInText, othersFoundByText)
};
val foundByInText- List[sknil.categories.CategoriesSearcher.Category] = x$22._1;
val othersFoundByText- List[sknil.categories.CategoriesSearcher.Category] = x$22._2;
WikipediaTaggingTest.this.convertToAnyShouldWrapper[List[sknil.categories.CategoriesSearcher.Category]](foundByInText)(source.this.Position.here, scalactic.this.Prettifier.default).should(WikipediaTaggingTest.this.not).be[Nothing](WikipediaTaggingTest.this.empty)(enablers.this.Emptiness.emptinessOfGenTraversable[sknil.categories.CategoriesSearcher.Category, [e]scala.collection.GenTraversable[e]])
}))
})(source.this.Position.here)
})(WikipediaTaggingTest.this.subjectRegistrationFunction)
},WikipediaTaggingTest.this.convertToStringShouldWrapper('WikipediaTagging')(source.this.Position.here, scalactic.this.Prettifier.default),convertToStringShouldWrapper,List(WikipediaTagging)) should have main category context.launch (File name too long)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at org.eclipse.core.internal.filesystem.local.LocalFile.openOutputStream(LocalFile.java:400)
at org.eclipse.debug.internal.core.LaunchConfigurationWorkingCopy.writeNewFile(LaunchConfigurationWorkingCopy.java:307)
at org.eclipse.debug.internal.core.LaunchConfigurationWorkingCopy.doSave0(LaunchConfigurationWorkingCopy.java:250)
at org.eclipse.debug.internal.core.LaunchConfigurationWorkingCopy.doSave(LaunchConfigurationWorkingCopy.java:220)
at org.eclipse.debug.internal.core.LaunchConfigurationWorkingCopy.doSave(LaunchConfigurationWorkingCopy.java:173)
at scala.tools.eclipse.scalatest.launching.ScalaTestLaunchShortcut$.launchTests(ScalaTestLaunchShortcut.scala:365)
at scala.tools.eclipse.scalatest.launching.ScalaTestTestLaunchShortcut.launch(ScalaTestLaunchShortcut.scala:177)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.launch(LaunchShortcutExtension.java:420)
at org.eclipse.debug.internal.ui.actions.LaunchShortcutAction.runInternal(LaunchShortcutAction.java:80)
at org.eclipse.debug.internal.ui.actions.LaunchShortcutAction.runWithEvent(LaunchShortcutAction.java:135)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5227)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1340)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1366)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1349)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1134)
at org.eclipse.jface.action.ActionContributionItem.lambda$8(ActionContributionItem.java:1258)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5227)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1340)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4561)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4151)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
Metadata
Metadata
Assignees
Labels
No labels