TPV-5209 http -> https

This commit is contained in:
Jakub Chrzanowski 2020-04-13 12:09:48 +02:00
parent 82bbf5b98b
commit 0a69886c06
14 changed files with 22 additions and 20 deletions

2
README.md Normal file
View File

@ -0,0 +1,2 @@
test
ww

View File

@ -10,7 +10,7 @@ import com.intellij.psi.TokenType;
/**
* This class is a scanner generated by
* <a href="http://www.jflex.de/">JFlex</a> 1.7.0
* <a href="https://www.jflex.de/">JFlex</a> 1.7.0
* from the specification file <tt>Simple.flex</tt>
*/
class SimpleLexer implements FlexLexer {

View File

@ -35,7 +35,7 @@ public class SimpleColorSettingsPage implements ColorSettingsPage {
public String getDemoText() {
return "# You are reading the \".properties\" entry.\n" +
"! The exclamation mark can also mark text as comments.\n" +
"website = http://en.wikipedia.org/\n" +
"website = https://en.wikipedia.org/\n" +
"language = English\n" +
"# The backslash below tells the application to continue reading\n" +
"# the value onto the next line.\n" +

View File

@ -27,7 +27,7 @@ public class SimpleLanguageCodeStyleSettingsProvider extends LanguageCodeStyleSe
public String getCodeSample(@NotNull SettingsType settingsType) {
return "# You are reading the \".properties\" entry.\n" +
"! The exclamation mark can also mark text as comments.\n" +
"website = http://en.wikipedia.org/\n" +
"website = https://en.wikipedia.org/\n" +
"\n" +
"language = English\n" +
"# The backslash below tells the application to continue reading\n" +

View File

@ -69,17 +69,17 @@ public class SimpleCodeInsightTest extends LightJavaCodeInsightFixtureTestCase {
}
public void testCommenter() {
myFixture.configureByText(SimpleFileType.INSTANCE, "<caret>website = http://en.wikipedia.org/");
myFixture.configureByText(SimpleFileType.INSTANCE, "<caret>website = https://en.wikipedia.org/");
CommentByLineCommentAction commentAction = new CommentByLineCommentAction();
commentAction.actionPerformedImpl(getProject(), myFixture.getEditor());
myFixture.checkResult("#website = http://en.wikipedia.org/");
myFixture.checkResult("#website = https://en.wikipedia.org/");
commentAction.actionPerformedImpl(getProject(), myFixture.getEditor());
myFixture.checkResult("website = http://en.wikipedia.org/");
myFixture.checkResult("website = https://en.wikipedia.org/");
}
public void testReference() {
myFixture.configureByFiles("ReferenceTestData.java", "DefaultTestData.simple");
PsiElement element = myFixture.getFile().findElementAt(myFixture.getCaretOffset()).getParent();
assertEquals("http://en.wikipedia.org/", ((SimpleProperty) element.getReferences()[0].resolve()).getValue());
assertEquals("https://en.wikipedia.org/", ((SimpleProperty) element.getReferences()[0].resolve()).getValue());
}
}

View File

@ -1,6 +1,6 @@
# You are reading the ".properties" entry.
! The exclamation mark can also mark text as comments.
website = http://en.wikipedia.org/
website = https://en.wikipedia.org/
language = English

View File

@ -1,6 +1,6 @@
# You are reading the ".properties" entry.
! The exclamation mark can also mark text as comments.
website = http://en.wikipedia.org/
website = https://en.wikipedia.org/
language = English
# The backslash below tells the application to continue reading

View File

@ -1,6 +1,6 @@
public class Test {
public static void main(String[] args)<fold text=' { '> {
</fold>System.out.println("<fold text='http://en.wikipedia.org/'>simple:website</fold>");<fold text=' }'>
</fold>System.out.println("<fold text='https://en.wikipedia.org/'>simple:website</fold>");<fold text=' }'>
}</fold>
public static void main1(String[] args)<fold text=' { '> {
</fold>System.out.println("<fold text='This is the value that could be looked up with the key \"key with spaces\".'>simple:key with spaces</fold>");<fold text=' }'>

View File

@ -1,6 +1,6 @@
# You are reading the ".properties" entry.
! The exclamation mark can also mark text as comments.
website=http://en.wikipedia.org/
website=https://en.wikipedia.org/

View File

@ -1,6 +1,6 @@
# You are reading the ".properties" entry.
! The exclamation mark can also mark text as comments.
website = http://en.wikipedia.org/
website = https://en.wikipedia.org/
language = English
# The backslash below tells the application to continue reading

View File

@ -8,7 +8,7 @@ Simple File(0,492)
PsiWhiteSpace(' ')(105,106)
PsiElement(SimpleTokenType.SEPARATOR)('=')(106,107)
PsiWhiteSpace(' ')(107,108)
PsiElement(SimpleTokenType.VALUE)('http://en.wikipedia.org/')(108,132)
PsiElement(SimpleTokenType.VALUE)('https://en.wikipedia.org/')(108,132)
PsiWhiteSpace('\n\n')(132,134)
SimplePropertyImpl(PROPERTY)(134,152)
PsiElement(SimpleTokenType.KEY)('language')(134,142)

View File

@ -1,6 +1,6 @@
# You are reading the ".properties" entry.
! The exclamation mark can also mark text as comments.
website = http://en.wikipedia.org/
website = https://en.wikipedia.org/
language = English
# The backslash below tells the application to continue reading

View File

@ -1,6 +1,6 @@
# You are reading the ".properties" entry.
! The exclamation mark can also mark text as comments.
websiteUrl = http://en.wikipedia.org/
websiteUrl = https://en.wikipedia.org/
language = English
# The backslash below tells the application to continue reading

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="org.intellij.sdk.toolWindow.MyToolWindow">
<form xmlns="httsp://www.intellij.com/uidesigner/form/" version="1" bind-to-class="org.intellij.sdk.toolWindow.MyToolWindow">
<grid id="27dc6" binding="myToolWindowContent" layout-manager="GridLayoutManager" row-count="2" column-count="5" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
<margin top="0" left="0" bottom="0" right="0"/>
<constraints>