Skip to content

Commit

Permalink
style: update copyright header
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Miura <[email protected]>
  • Loading branch information
miurahr committed Nov 19, 2024
1 parent 35b1be8 commit 1649e39
Show file tree
Hide file tree
Showing 4 changed files with 88 additions and 0 deletions.
25 changes: 25 additions & 0 deletions test-acceptance/src/org/omegat/TestMainInitializer.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
/**************************************************************************
OmegaT - Computer Assisted Translation (CAT) tool
with fuzzy matching, translation memory, keyword search,
glossaries, and translation leveraging into updated projects.
Copyright (C) 2024 Hiroshi Miura
Home page: https://www.omegat.org/
Support center: https://omegat.org/support
This file is part of OmegaT.
OmegaT is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OmegaT is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
**************************************************************************/

package org.omegat;

import javax.swing.UIManager;
Expand Down
25 changes: 25 additions & 0 deletions test-acceptance/src/org/omegat/gui/align/AlignerWindowTest.java
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
/**************************************************************************
OmegaT - Computer Assisted Translation (CAT) tool
with fuzzy matching, translation memory, keyword search,
glossaries, and translation leveraging into updated projects.
Copyright (C) 2024 Hiroshi Miura
Home page: https://www.omegat.org/
Support center: https://omegat.org/support
This file is part of OmegaT.
OmegaT is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OmegaT is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
**************************************************************************/

package org.omegat.gui.align;

import static org.junit.Assert.assertNotNull;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,22 @@

import static org.junit.Assert.assertTrue;

import java.util.Locale;
import java.util.regex.Pattern;

import org.junit.Rule;
import org.junit.Test;

import org.omegat.gui.main.BaseMainWindowMenu;
import org.omegat.gui.main.TestCoreGUI;
import org.omegat.util.LocaleRule;
import org.omegat.util.OStrings;

public class AboutDialogTest extends TestCoreGUI {

@Rule
public final LocaleRule localeRule = new LocaleRule(new Locale("en"));

@Test
public void testAboutDialog() throws InterruptedException {
window.menuItem(BaseMainWindowMenu.HELP_MENU).click();
Expand Down
32 changes: 32 additions & 0 deletions test-acceptance/src/org/omegat/gui/editor/EditorTextAreaTest.java
Original file line number Diff line number Diff line change
@@ -1,12 +1,44 @@
/**************************************************************************
OmegaT - Computer Assisted Translation (CAT) tool
with fuzzy matching, translation memory, keyword search,
glossaries, and translation leveraging into updated projects.
Copyright (C) 2024 Hiroshi Miura
Home page: https://www.omegat.org/
Support center: https://omegat.org/support
This file is part of OmegaT.
OmegaT is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
OmegaT is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
**************************************************************************/

package org.omegat.gui.editor;

import java.util.Locale;

import org.junit.Rule;
import org.junit.Test;

import org.omegat.gui.main.TestCoreGUI;
import org.omegat.util.LocaleRule;
import org.omegat.util.OStrings;

public class EditorTextAreaTest extends TestCoreGUI {

@Rule
public final LocaleRule localeRule = new LocaleRule(new Locale("en"));

@Test
public void testIntroPaneExist() {
window.panel(OStrings.getString("DOCKING_FIRST_STEPS_TITLE")).requireEnabled();
Expand Down

0 comments on commit 1649e39

Please sign in to comment.