From 2ade9630af1b120b53bed476439f868aa9ae5b45 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Mon, 11 May 2015 13:59:45 +0200 Subject: [PATCH] enable running MetaRegistryTest in its own classpath --- .../com/intellij/psi/impl/meta/MetaRegistryTest.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/platform/platform-tests/testSrc/com/intellij/psi/impl/meta/MetaRegistryTest.java b/platform/platform-tests/testSrc/com/intellij/psi/impl/meta/MetaRegistryTest.java index 9217168562b6..ffbdad890628 100644 --- a/platform/platform-tests/testSrc/com/intellij/psi/impl/meta/MetaRegistryTest.java +++ b/platform/platform-tests/testSrc/com/intellij/psi/impl/meta/MetaRegistryTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2013 JetBrains s.r.o. + * Copyright 2000-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,6 +24,7 @@ import com.intellij.psi.meta.PsiMetaData; import com.intellij.psi.xml.XmlFile; import com.intellij.psi.xml.XmlTag; import com.intellij.testFramework.LightPlatformTestCase; +import com.intellij.testFramework.PlatformTestCase; import com.intellij.testFramework.UsefulTestCase; import org.jetbrains.annotations.NonNls; @@ -31,6 +32,9 @@ import org.jetbrains.annotations.NonNls; * @author peter */ public class MetaRegistryTest extends LightPlatformTestCase { + public MetaRegistryTest() { + PlatformTestCase.autodetectPlatformPrefix(); + } public void testChangingMetaData() throws Throwable { final boolean[] flag = {false};